package com.zz.shop.service;

import com.zz.shop.common.ResponseResult;
import com.zz.shop.entity.User;

public interface UserService {
    //    User findUserByName(String username);
    ResponseResult findUserByName(String username);

    ResponseResult reg(User u);

    ResponseResult activate(String e, String c);

    ResponseResult sendMessage(String phone);

    ResponseResult doLogin(String username, String password);
}
